home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.19980424-19980901 / 000297_news@newsmaster….columbia.edu _Sun Jul 26 10:05:37 1998.msg < prev    next >
Internet Message Format  |  1998-08-31  |  2KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA07736
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Sun, 26 Jul 1998 10:05:37 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id KAA27933
  7.     for kermit.misc@watsun; Sun, 26 Jul 1998 10:05:36 -0400 (EDT)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: Mail command
  12. Date: 26 Jul 1998 14:05:35 GMT
  13. Organization: Columbia University
  14. Lines: 31
  15. Message-ID: <6pfd3f$akh$1@apakabar.cc.columbia.edu>
  16. References: <6peqob$1a4@enews4.newsguy.com>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:9005
  19.  
  20. In article <6peqob$1a4@enews4.newsguy.com>,
  21. Vasos Panagiotopoulos +1-917-287-8087 Bioengineer-Financier
  22. <vjp2@dorsai.org @smtp.dorsai.org> wrote:
  23. : I was wondering if there is a way to use the mail command to
  24. : send a batch of messages with the To: and Subject: header embedded at
  25. : the top of the file.
  26. :   eg 
  27. :     Kermit>mail *.mai
  28. :   where
  29. :     1.mai
  30. :   was
  31. :      To: buffoon@baboon.org
  32. :      Subject: Buffooneries
  33. :        Dear Buffoon,
  34. :          Please Behave!
  35. :        Regards
  36. :    &cetera
  37. There is no built-in way for Kermit to extract the mail headers from 
  38. the file.  The latest versions of C-Kermit and K-95 include an improved
  39. mail-sending command:
  40.  
  41.   send /mail:user@host.com /subject:{This is the subject} filename
  42.  
  43. But this assumes the body of the message is in the file; the headers are
  44. supplied in the command.  I suppose you could write a script to pick the
  45. file apart, but it would be rather tedious.
  46.  
  47. - Frank